package com.itheima.blog.admin.service;

import com.itheima.api.client.dto.CategoryDto;
import com.itheima.blog.admin.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 博客分类表 服务类
 * </p>
 *
 * @author cccg
 * @since 2023-07-12
 */
public interface CategoryService extends IService<Category> {

    public List<Category> getCategoryAllList();

    CategoryDto getCategoryByName(String categoryName);
}
